<template>
  <div>
    <router-view></router-view>
  </div>
</template>

<script setup lang="ts">
import { Button as VanButton } from 'vant'
import { request } from '@/utils/request'
import type { User } from './types/user';

const login = async () => {
  const res = await request<User>('/login/password', 'POST', {
    mobile: '13211112222',
    // 密码 abc123456 测试：出现非10000的情况
    password: 'abc12345'
  })

  console.log(res);
  
}
</script>

<style lang="scss" scoped>

</style>